<script src="../../SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
<link href="/style.css" rel="stylesheet" type="text/css" />

<table width="100%">
<tbody>
  <tr>
    <td height="18" colspan="6" valign="top" class="navrapide"><div align="left"><span class="nav">Vous &ecirc;tes ici: </span><a href="../../index.php">Accueil</a>&gt;<a href="espace_client.php?onglet=espace_client&amp;page=accueil_espace_client">Espace Client</a>&gt;<strong> Commande de prestation&nbsp;</strong></div></td>
    </tr>
  <tr>
    <td height="34" colspan="6" valign="top"><div align="left">
      <h1>Sélectionner les prestations que vous désirez :</h1>
    </div>    
    </td>
  </tr>
  <tr>			
    <td valign="top">
        <td valign="top">
        
<form method="post" action="espace_client.php?onglet=espace_client&page=demande_prestation&action=creation">

   <div id="CollapsiblePanel1" class="CollapsiblePanel">
     <div class="CollapsiblePanelTab" tabindex="0" style="background:url(images/delete.png) no-repeat;height:100px;width:900px;">
      <p align="center">&nbsp;</p>
       <h2>Services Conciergerie</h2>
       <p align="center">&nbsp;</p>
     </div>
     
           
	<div class="CollapsiblePanelContent">
		<?php $i=0; ?>
 <?php foreach ( $listePrestation as $prestation) 
 		{ 
			
		   if ( $prestation['nature']==1 ) 
		   { ?>
                <div class="service_titre">
                	<strong><?php echo $prestation['libelle_prestation']; ?></strong><br />    
                </div>         
                <?php foreach ( $listeFamille as $famille) 
                {  
    
                    if ( $famille['code_prestation']==$prestation['code_prestation'] ) 
                    {    ?> 
                      <fieldset>
                      <legend><?php echo $famille['libelle_famille']; ?></legend>
                            <?php foreach ( $listeService as $service) 
                            { 
                                if ( $service['code_famille']==$famille['code_famille'] ) 
                                { ?>			
                                	<input type="hidden" name="<?php echo $i ; $i++; ?>" value="<?php echo $service['code_service'];?>" />                           			
                                    <label for="<?php echo $i; ?>"><strong><?php echo $service['libelle_service']; ?> </strong>: <?php echo $service['description']; ?><br /> 
                                     - cout unitaire :  ' <?php echo $service['prix_unitaire_HT']; ?> ( TVA  <?php echo $service['taux_tva']; ?>  %) Nombre à commander :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>" required />
                                  <label for="<?php echo $i; ?>"> Commentaire :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>"  />
                          <?php } ?>              
                       <?php } ?> 
             <?php } ?>  
                     </fieldset> 
		<?php } ?>   
    <?php } ?>   
<?php } ?>
	<input type="hidden" name="nbChamps" value="<?php echo $i; ?>" /> 
	<input type="submit" name="submit" id="submit" value="Confirmer" />
	</div>
    </div>
</form>
    
</td>
 
    </tr>
  <tr>

    </tr>
  <tr>
  <td valign="top" width="13%">&nbsp;</td>
  <td valign="top" width="26%">
<form method="post" action="espace_client.php?onglet=espace_client&page=demande_prestation&action=creation">

   <div id="CollapsiblePanel2" class="CollapsiblePanel">
     <div class="CollapsiblePanelTab" tabindex="0" style="background:url(images/delete.png) no-repeat;height:100px;width:900px;">
      <p align="center">&nbsp;</p>
       <h2>Petites courses</h2>
       <p align="center">&nbsp;</p>
     </div>
     
           
	<div class="CollapsiblePanelContent">
		<?php $i=0; ?>
 <?php foreach ( $listePrestation as $prestation) 
 		{ 
			
		   if ( $prestation['nature']==2 ) 
		   { ?>
                <div class="service_titre">
                	<strong><?php echo $prestation['libelle_prestation']; ?></strong><br />    
                </div>         
                <?php foreach ( $listeFamille as $famille) 
                {  
    
                    if ( $famille['code_prestation']==$prestation['code_prestation'] ) 
                    {    ?> 
                      <fieldset>
                      <legend><?php echo $famille['libelle_famille']; ?></legend>
                            <?php foreach ( $listeService as $service) 
                            { 
                                if ( $service['code_famille']==$famille['code_famille'] ) 
                                { ?>			
                                	<input type="hidden" name="<?php echo $i ; $i++; ?>" value="<?php echo $service['code_service'];?>" />                           			
                                    <label for="<?php echo $i; ?>"><strong><?php echo $service['libelle_service']; ?> </strong>: <?php echo $service['description']; ?><br /> 
                                    - cout unitaire :  ' <?php echo $service['prix_unitaire_HT']; ?> ( TVA  <?php echo $service['taux_tva']; ?>  %) Nombre à commander :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>" required />
                                  <label for="<?php echo $i; ?>"> Commentaire :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>"  />
                          <?php } ?>              
                       <?php } ?> 
             <?php } ?>  
                     </fieldset> 
		<?php } ?>   
   <?php } ?>  
<?php } ?>
	<input type="hidden" name="nbChamps" value="<?php echo $i; ?>" /> 
	<input type="submit" name="submit" id="submit" value="Confirmer" />
	</div>
    </div>
</form>
</tr>

  <tr>
  <td valign="top" width="13%">&nbsp;</td>
<td valign="top" width="26%">
<form method="post" action="espace_client.php?onglet=espace_client&page=demande_prestation&action=creation">

   <div id="CollapsiblePanel3" class="CollapsiblePanel">
     <div class="CollapsiblePanelTab" tabindex="0" style="background:url(images/delete.png) no-repeat;height:100px;width:900px;">
      <p align="center">&nbsp;</p>
       <h2>Achats groupés</h2>
       <p align="center">&nbsp;</p>
     </div>
     
           
	<div class="CollapsiblePanelContent">
		 <?php $i=0; ?>
 <?php foreach ( $listePrestation as $prestation) 
 		{ 
			

		   if ( $prestation['nature']==3 ) 
		   { ?>
                <div class="service_titre">
                	<strong><?php echo $prestation['libelle_prestation']; ?></strong><br />    
                </div>         
                <?php foreach ( $listeFamille as $famille) 
                {  
    
                    if ( $famille['code_prestation']==$prestation['code_prestation'] ) 
                    {    ?> 
                      <fieldset>
                      <legend><?php echo $famille['libelle_famille']; ?></legend>
                            <?php foreach ( $listeService as $service) 
                            { 
                                if ( $service['code_famille']==$famille['code_famille'] ) 
                                { ?>			
                                	<input type="hidden" name="<?php echo $i ; $i++; ?>" value="<?php echo $service['code_service'];?>" />
                                    <input type="hidden" name="<?php echo $i ; $i++; ?>" value="<?php echo $service['libelle_service'];?>" />                           			
                                    <label for="<?php echo $i; ?>"><strong><?php echo $service['libelle_service']; ?> </strong>: <?php echo $service['description']; ?><br /> 
                                    - cout unitaire :  ' <?php echo $service['prix_unitaire_HT']; ?> ( TVA  <?php echo $service['taux_tva']; ?>  %) Nombre à commander :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>" required />
                                  <label for="<?php echo $i; ?>"> Commentaire :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>"  />
                          <?php } ?>              
                       <?php } ?> 
             <?php } ?>  
                     </fieldset> 
		<?php } ?>   
    <?php } ?>   
<?php } ?>
	<input type="hidden" name="nbChamps" value="<?php echo $i; ?>" /> 
	<input type="submit" name="submit" id="submit" value="Confirmer" />
	</div>
    </div>
</form>
</tr>

 <tr>
  <td valign="top" width="13%">&nbsp;</td>
<td valign="top" width="26%">
<form method="post" action="espace_client.php?onglet=espace_client&page=demande_prestation&action=creation">

   <div id="CollapsiblePanel4" class="CollapsiblePanel">
     <div class="CollapsiblePanelTab" tabindex="0" style="background:url(images/delete.png) no-repeat;height:100px;width:900px;">
      <p align="center">&nbsp;</p>
       <h2>Mise en relation</h2>
       <p align="center">&nbsp;</p>
     </div>
     
           
	<div class="CollapsiblePanelContent">
		 <?php $i=0; ?>
 <?php foreach ( $listePrestation as $prestation) 
 		{ 
			
		   if ( $prestation['nature']==4 ) 
		   { ?>
                <div class="service_titre">
                	<strong><?php echo $prestation['libelle_prestation']; ?></strong><br />    
                </div>         
                <?php foreach ( $listeFamille as $famille) 
                {  
    
                    if ( $famille['code_prestation']==$prestation['code_prestation'] ) 
                    {    ?> 
                      <fieldset>
                      <legend><?php echo $famille['libelle_famille']; ?></legend>
                            <?php foreach ( $listeService as $service) 
                            { 
                                if ( $service['code_famille']==$famille['code_famille'] ) 
                                { ?>			
                                	<input type="hidden" name="<?php echo $i ; $i++; ?>" value="<?php echo $service['code_service'];?>" />                           			
                                    <label for="<?php echo $i; ?>"><strong><?php echo $service['libelle_service']; ?> </strong>: <?php echo $service['description']; ?><br /> 
                                    - cout unitaire :  ' <?php echo $service['prix_unitaire_HT']; ?> ( TVA  <?php echo $service['taux_tva']; ?>  %) Nombre à commander :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>" required />
                                  <label for="<?php echo $i; ?>"> Commentaire :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>"  />
                          <?php } ?>              
                       <?php } ?> 
             <?php } ?>  
                     </fieldset> 
		<?php } ?>   
    <?php } ?>  
<?php } ?>
	<input type="hidden" name="nbChamps" value="<?php echo $i; ?>" /> 
	<input type="submit" name="submit" id="submit" value="Confirmer" />
	</div>
    </div>
</form>
</tr>

 <tr>
  <td valign="top" width="13%">&nbsp;</td>
  <td valign="top" width="26%">
<form method="post" action="espace_client.php?onglet=espace_client&page=demande_prestation&action=creation">

   <div id="CollapsiblePanel5" class="CollapsiblePanel">
     <div class="CollapsiblePanelTab" tabindex="0" style="background:url(images/delete.png) no-repeat;height:100px;width:900px;">
      <p align="center">&nbsp;</p>
       <h2>Assistance</h2>
       <p align="center">&nbsp;</p>
     </div>
     
           
	<div class="CollapsiblePanelContent">
		 <?php $i=0; ?>
 <?php foreach ( $listePrestation as $prestation) 
 		{ 
			

		   if ( $prestation['nature']==5 ) 
		   { ?>
                <div class="service_titre">
                	<strong><?php echo $prestation['libelle_prestation']; ?></strong><br />    
                </div>         
                <?php foreach ( $listeFamille as $famille) 
                {  
    
                    if ( $famille['code_prestation']==$prestation['code_prestation'] ) 
                    {    ?> 
                      <fieldset>
                      <legend><?php echo $famille['libelle_famille']; ?></legend>
                            <?php foreach ( $listeService as $service) 
                            { 
                                if ( $service['code_famille']==$famille['code_famille'] ) 
                                { ?>			
                                	<input type="hidden" name="<?php echo $i ; $i++; ?>" value="<?php echo $service['code_service'];?>" />                           			
                                    <label for="<?php echo $i; ?>"><strong><?php echo $service['libelle_service']; ?> </strong>: <?php echo $service['description']; ?><br /> 
                                    - cout unitaire :  ' <?php $service['prix_unitaire_HT']; ?> ( TVA  <?php $service['taux_tva']; ?>  %) Nombre à commander :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>" required />
                                  <label for="<?php echo $i; ?>"> Commentaire :</label>
                                  <input type="text" name="<?php echo $i; $i++ ;?>"  />
                          <?php } ?>              
                       <?php } ?> 
             <?php } ?>  
                     </fieldset> 
		<?php } ?>   
    <?php } ?>  
<?php } ?>
	<input type="hidden" name="nbChamps" value="<?php echo $i; ?>" /> 
	<input type="submit" name="submit" id="submit" value="Confirmer" />
	</div>
    </div>
</form>
</div><p align="center">&nbsp;</p>
</div>
</tr>


  <tr>
    <td colspan="6" valign="top"><em>liste non exhaustive</em></td>
    </tr>
</table>
<script type="text/javascript">
<!--
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false});
var CollapsiblePanel2 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel2", {contentIsOpen:false});
var CollapsiblePanel3 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel3", {contentIsOpen:false});
var CollapsiblePanel4 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel4", {contentIsOpen:false});
var CollapsiblePanel5 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel5", {contentIsOpen:false});

//-->
</script>
